﻿#region

using System;

#endregion

namespace Mysoft.Platform.OnlineLibrary.Entity
{
	/// <summary>
	/// BatchLogEntity
	/// </summary>
	[Serializable]
	public class BatchLogEntity
	{
		/// <summary>
		/// BatchId
		/// </summary>
		public decimal BatchId { get; set; }

		/// <summary>
		/// Reader
		/// </summary>
		public string Reader { get; set; }
		
		/// <summary>
		/// 本次借阅图书名称列表，用逗号分隔
		/// </summary>
		public string BookList { get; set; }

		/// <summary>
		///     CreateDate
		/// </summary>
		public DateTime CreateDate { get; set; }
		
		/// <summary>
		/// 操作类型,1借阅，2归还，3续借，4挂失
		/// </summary>
		public int OperationType { get; set; }
	}

	public enum BookOperation
	{
		None = -1,
		Borrow = 1,
		Return = 2,
		Renew =3,
		Lost = 4
	}
}